package com.hhxy.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author ghp
 * @date 2023/4/30
 * @title
 * @description
 */
@ApiModel(value = "用于接收新增标签信息的传输对象")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AddTagDto {
    /**
     * 标签名
     */
    @ApiModelProperty(value = "标签名", required = true)
    @NotBlank(message = "标签名不能为空")
    private String name;

    /**
     * 标签描述
     */
    @ApiModelProperty(value = "标签描述")
    private String remark;



}
